﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using System.Threading;
using System.Text;
using libvkontakte;

namespace VK
{
    class Program
    {
        private static bool status = false;

        static void Main(string[] args)
        {
            User user = new User();
            user.Password = "277531122kz83h";
            user.Email = "alexander.chaiko@yandex.ru";
            //user.SetProxy(WebProxy.GetDefaultProxy());
            //user.Login();
            WebClient cl = new WebClient();
            cl.Proxy = new WebProxy("192.168.1.2",3128);
            cl.DownloadStringCompleted += new DownloadStringCompletedEventHandler(cl_DownloadStringCompleted);
            var s = cl.DownloadString("http://tut.by");
            //Console.WriteLine(s);
            
        }

        static void cl_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
        {
            
        }

       

        public static void Go()
        {
            while (true)
            {
                Console.WriteLine("===============\n");    
            }
            
        }

        static void GetNews(object o)
        {
            
        }

    }
}
